Dirtycow also known as CVE-2016-5195 and it's very populer vulnerability of past time. First of all choose the fitted Linux version for that vulnerability. then install or run it on VBOX or VMWare . after install it follow those instructions.
- Create a user without having root access.
- Log into that created user.
- Create directory.
- Create root access to ‘.txt’ document and give to it read only permission.
- Compile and run the ‘.c’ file in where the ‘.txt’ file created.
- Then run it., before it running there are two arguments want to give to it.
./compile_name_of_file_created r-only file write_here_something